package com.yenroc.invoice.constant;

public enum InvoiceTypeEnum implements BaseEnum<String>{
    ELECTRON_SPEC_INVOICE("01", "数电专票"),
    ELECTRON_COMMON_INVOICE("02", "数电普票");

    private final String code;
    private final String desc;

    InvoiceTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}